package mi.top.utils;

import cn.hutool.core.util.CharsetUtil;
import cn.hutool.core.util.HexUtil;

/**
 * @author 祥霸
 * @date 2021.07.13
 */
public class HexUtils {
    public static void main(String[] args) {
        String str = "0x01100010000501CF";
        String hex = HexUtil.encodeHexStr(str, CharsetUtil.CHARSET_UTF_8);
        System.out.println(hex);

        System.out.println();
    }
}
